﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TinyPG
{
    public class Timer
    {
        private string _nom;
        private int _duree;

        public Timer(string Nom, int Duree)
        {
            _nom = Nom;
            _duree = Duree;
        }

        public override string ToString()
        {
            return _nom;
        }

        public int GetDuree()
        {
            return _duree;
        }

    }
}
